package com.score.student.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author hyh
 * @version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "scores.jwt")
public class JwtProperties {

    private String adminSecretKey;

    private long adminTtl;

    private String adminTokenName;
}
